/**
*   TypeDefs.h
*
*   Contains most used Defines, Vars and Methods
*/
#ifndef TYPEDEFS_H_INCLUDED
#define TYPEDEFS_H_INCLUDED

#include <sstream>
#include <string>

using namespace std;

enum elements{EMPTY, BLOCK, HARD};                                  //The types a field can contains

//ToString function, can put almost anything to a string
template <class DataType>
inline string toString(const DataType& input){
	stringstream stream;
	stream << input;
	return stream.str();
}
#endif
